// 提交订单后生成的订单号
const SET_SUBMITTED_DATA = 'SET_SUBMITTED_DATA'

const state = {
  orderNo: '',
  paySign: ''
}

const mutations = {
  [SET_SUBMITTED_DATA](state, data) {
    console.log('hello')
    console.log(data)
    console.log(data.orderCode)
    console.log(data.paySign)
    state.orderNo = data.orderCode
    state.paySign = data.paySign
  }
}

export default {
  state,
  mutations
}
